package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课时方案，每种方案分别对应不同的节次时间
 * </p>
 *
 * @author quin.song
 * @since 2023-03-23
 */
@Data
@Accessors(chain = true)
@TableName("period_scheme")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "PeriodScheme对象", description = "课时方案，每种方案分别对应不同的节次时间")
public class PeriodScheme implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer taskId;

    @ApiModelProperty("基础平台课时方案id")
    private String baseSchemeId;

    @ApiModelProperty("课时方案名称")
    private String baseSchemeName;

    @ApiModelProperty("节次")
    private Integer period;

    @ApiModelProperty("1.上午； 2.下午")
    private Integer periodType;

    @ApiModelProperty("节次名称")
    private String periodName;

    @ApiModelProperty("节次开始时间")
    private LocalTime startTime;

    @ApiModelProperty("节次结束时间")
    private LocalTime endTime;

    private String schoolId;

    @ApiModelProperty("学期")
    private String term;

}
